call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)
commitf0bdfc5aa34424e08ca790a08f605b7fb6bfa236
treeeddd90198f715b74cf963fa3616c9ec8092f577b
parent963bad4ee42c3a97d0e5036fb64438445840c7d9
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json